package com.example.hehecat.yuejian1.mvp.contract;

import com.example.hehecat.yuejian1.mvp.model.bean.PictureBean;
import com.example.hehecat.yuejian1.mvp.model.bean.SuccessBean;

import java.util.List;

import retrofit2.Callback;
import rx.Subscriber;

public interface MyPictureContract {
    interface Model{
        void MyPicture(int user_id, Subscriber<List<PictureBean>> subscriber);
        void DeleteMyPicture(int user_id, int picture_id, Callback<SuccessBean> callback);
    }

    interface View{
        void updateAdapterData(List<PictureBean> data);
        void moveToPictureInfo(int picture_id);

    }

    interface Presenter{
        void updateAdapterData(int user_id);
        void deleteMyPicture(int user_id,int picture_id);
    }
}
